<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>标题</th>
            <th>类别</th>
            <th>价格</th>
            <th>图片</th>
            <th>库存数量</th>
            <th>排序</th>
            <th>创建时间</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td class="xsui-nowrap" title="{$vo.title}">{:sofn_msubstr($vo['title'],0,30)}</td>
            <td class="xsui-nowrap">{$vo.category_text}</td>
            <td>{$vo.price}</td>
            <td style="padding:0">
                <a href="{$vo['picture_url']}" target="_blank"><img src="{$vo['picture_url']}" alt="" style="width:24px; height:24px; margin-top:2px;" /></a>
            </td>
            <td>{$vo.stock}</td>
            <td class="sort"><input type="text" value="{$vo.sort}" size="3" data-value="{$vo.sort}" data-url="{:U('ProductGoods/change_sort','id='.$vo['id'].'&sort=varsort')}" title="更改后,鼠标点击页面任意位置即可自动生效" /></td>
            <td class="xsui-nowrap">{$vo.create_time}</td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>